package com.shiwaixiangcun.monitor.dto;

import com.shiwaixiangcun.monitor.enums.DeviceBrand;
import com.shiwaixiangcun.monitor.enums.DeviceType;

import java.util.Date;

/**
 * Created by Administrator on 2018-01-15.
 */
public class DeviceDetailsDto {

    private Long id;
    private String number;   //讯铃设备呼叫器编号(或者接收器编号)
    //高德地图坐标
    private String longitude; //经度
    private String latitude;  //纬度
    private String name;   //设备别名
    private String model;   //设备型号
    private Long modelId;   //型号ID
    private DeviceType deviceType;//设备类型
    private DeviceBrand deviceBrand;//设备品牌
    private Long belongToReceiver; //属于哪个接收器(呼叫器才有该值，这里的ID值指向Device表的ID)
    private String belongToReceiverName;
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public DeviceType getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(DeviceType deviceType) {
        this.deviceType = deviceType;
    }

    public DeviceBrand getDeviceBrand() {
        return deviceBrand;
    }

    public void setDeviceBrand(DeviceBrand deviceBrand) {
        this.deviceBrand = deviceBrand;
    }

    public Long getBelongToReceiver() {
        return belongToReceiver;
    }

    public void setBelongToReceiver(Long belongToReceiver) {
        this.belongToReceiver = belongToReceiver;
    }

    public String getBelongToReceiverName() {
        return belongToReceiverName;
    }

    public void setBelongToReceiverName(String belongToReceiverName) {
        this.belongToReceiverName = belongToReceiverName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
